function validate(value) {
    /* return支持返回boolean类型或者{ success: boolean, message?: string }对象，
       返回对象格式时success为必填，message为选填，当message有值时错误提示信息将
       改为message设置的提示信息 */
    //debugger
    debugger
    return new Promise((resolve, reject) => {
        const fill_year = this.$$m("number_input_4qehtl").props.defaultValue.value || 0;
        const fill_unit_name = this.$$m("text_input_515jzz").props.defaultValue.value || '';
        let params = {};
        api.EXEC_FORMULA("ENTITY_SELECT_ONE('t_038f8823cbbb49fa82a5732dece7f6fa',id,QUERY_AND(QUERY_EQ('fill_year','" + fill_year + "'),QUERY_EQ('fill_unit_name','" + fill_unit_name + "')))").then(res => {
            if (res.result) {
                params = { success: false }
            } else {
                params = { success: true }
            }
            resolve(params);
        });
    });
}
